package cn.kgc.client;

import cn.kgc.base.vo.SecKillSessionAndSecKillSkuVO;
import cn.kgc.base.vo.SeckillSessionVO;
import cn.kgc.commons.vo.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * <p></p>
 *
 * @author 李孟鸠
 * @Date: 2023年01月07日14:21
 */
@FeignClient(value = "mall-sms",path = "/sms",fallback = SmsFeignClientImpl.class)
public interface SmsFeignClient {


    @GetMapping("/smsSeckillSession/getSecSessionAndSecSku")
    Result<List<SecKillSessionAndSecKillSkuVO>> getSecSessionAndSecSku();


    @GetMapping("/smsSeckillSession/getSecSession")
    Result<List<SeckillSessionVO>>getSecSessions();


}
